<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'editClient_main.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link rel="stylesheet" type="text/css" href="css/left_tabmenu.css">
	<script type="text/javascript" src="js/showmenu.js"></script>
	<link rel="stylesheet" type="text/css"
			href="js/ext/resources/css/ext-all.css" />
		<script type="text/javascript" src="js/ext/adapter/ext/ext-base.js"></script>
		<script type="text/javascript" src="js/ext/ext-all.js"></script>
		<script type="text/javascript" src="js/date.js"></script>
		<script type="text/javascript" src="js/custOperationController.js"></script> 
		<link rel="stylesheet" type="text/css" href="css/left_tabmenu.css">
		<script type="text/javascript" src="js/showmenu.js"></script>
		<link rel="stylesheet" type="text/css" href="css/public.css">
		
<script language="javascript">  
var XMLHttpReq;  
     //创建XMLHttpRequest对象         
    function createXMLHttpRequest() {  
        if(window.XMLHttpRequest) { //Mozilla 浏览器  
            XMLHttpReq = new XMLHttpRequest();  
        }  
        else if (window.ActiveXObject) { // IE浏览器  
            try {  
                XMLHttpReq = new ActiveXObject("Msxml2.XMLHTTP");  
            } catch (e) {  
                try {  
                    XMLHttpReq = new ActiveXObject("Microsoft.XMLHTTP");  
                } catch (e) {}  
            }  
        }  
    }  
    //发送请求函数  
    function sendRequest(url) {  
        createXMLHttpRequest();  
        XMLHttpReq.open("GET", url, true);  
        XMLHttpReq.onreadystatechange = processResponse;//指定响应函数  
        XMLHttpReq.send(null);  // 发送请求  
    }  
    // 处理返回信息函数  
    function processResponse() {  
        if (XMLHttpReq.readyState == 4) { // 判断对象状态  
            if (XMLHttpReq.status == 200) { // 信息已经成功返回，开始处理信息  
                updateMenu();  
            } else { //页面不正常  
                  alert("获取行业列表异常！");  
            }  
        }  
    }  
    //更新菜单函数  
    function updateMenu() {  
    	if(XMLHttpReq.responseText != ""){
    	
        var industryChild=XMLHttpReq.responseText;

        var indChildJSON= eval("(" + industryChild + ")");
        
        var industryObj = document.getElementById('industryLevelTwo');
       
        industryObj.options.length=0;
        for(var i in indChildJSON){ 
       	var opt =new Option(indChildJSON[i], i);
       	industryObj.options.add(opt);
		}
		}
		  
    }  
    // 创建级联菜单函数  
    function showSubMenu(obj) {  
        sendRequest("industryCascading.do?industryParent=" + obj );  
        /**下面这一句的作用是：每次选择后回到第一个选项**/  
        // document.all.mli.options[0].selected=true;  
    }  
  
</script>
  </head>
 <body>
 <table width="100%" height="100%">
 <tr><td height="20%">
<div id="top">
<table  width="100%">
<tr><td><jsp:include page="../top.jsp" flush="true"></jsp:include></td></tr>
</table>
</div>
</td></tr>
<tr><td height="4"></td></tr>
<tr><td style="padding-left:5px;height:20px;text-align:left;">
<a href="#" style="text-decoration: none;">首页</a>&gt;&gt;客户管理&gt;&gt;${custType}&gt;&gt;经营情况
</td></tr>
<tr><td height="4"></td></tr>
<tr><td style="vertical-align:top;">
<div id="main">
<table width="99%" style="border:#BCD2EE solid 1px;margin:auto;">
<tr>
<td width="16%" height="100%" style="vertical-align:top;border-right:2px #65aaef solid;">
<div id="nav">  
  <div class="title1" id="menu1" onclick="showmenu('1') ">→基本信息</div>
  <div id="list1" class="content" style="display:block">
       <ul>
<li><a href="view/customer/Customer_General.jsp">- 概况</a></li>
<li><a href="view/customer/Customer_Address.jsp">- 地址</a></li>
<li><a href="view/customer/Customer_Operation.jsp" style="color:blue;">- 经营情况</a></li>
<li><a href="view/customer/Customer_Management.jsp">- 管理层情况</a></li>
<li><a href="view/customer/Customer_Stockholder.jsp" >- 股东情况</a></li>
<li><a href="dispatch.do?type=Cust_Overview&custId=${custId}">- 总览</a></li> 
    </ul>
  </div> 
 <div class="title" id="menu2" onclick="showmenu('2')"><a href="view/customer/Customer_ReportList.jsp" style="text-decoration: none;color:#fff;">→财务信息</a></div>
  <div id="list2" class="content" style="display:none">
    <ul>
    </ul>
  </div> 
<div class="title" id="menu3" onclick="showmenu('3')">→集团客户信息</div>
  <div id="list3" class="content" style="display:none">
    <ul>
<li><a href="view/customer/Customer_Member.jsp" title="">- 成员信息</a></li>
<li><a href="view/customer/Customer_Group.jsp" title="">- 集团信息</a></li>
    </ul>
  </div> 
  <div class="title" id="menu4" onclick="showmenu('4')">→银企合作信息</div>
  <div id="list4" class="content" style="display:none">
    <ul>
<li><a href="view/customer/Customer_Inner.jsp">- 我行存贷款信息</a></li>
<li><a href="view/customer/Customer_Outer.jsp">- 他行存贷款信息</a></li>
<li><a href="view/customer/Customer_Guarantee.jsp">- 担保信息</a></li>
<li><a href="view/customer/Customer_AssociateAccount.jsp">- 关联账户</a></li>
    </ul>
  </div> 
    <div class="title" id="menu5" onclick="showmenu('5')">→历史评级信息</div>  
    <div id="list5" class="content" style="display:none">
    <ul>
<li><a href="view/customer/Customer_ExtratRating.jsp">- 外部评级</a></li>
<li><a href="view/customer/CustomerRating_HistoryRating.jsp">- 内部评级</a></li>
    </ul>
  </div> 
<div class="title" id="menu6" onclick="showmenu('6')"><a href="view/customer/Customer_Events.jsp" style="text-decoration: none;color:#fff;">→重大事项</a></div>  
</div>
</td>

	<td width="84%" style="vertical-align: top;padding-left: 10px;padding-right: 10px;" id="right_frame">
	<table width="100%">
<tr><td style="text-align: left;height:32px;">
<table width="100%">
<tr>
<td width="85%" style="text-align: left;">
<img src="images/arrow.gif" />
当前客户--客户号：${custInfo.custNo}
&nbsp;&nbsp;&nbsp;客户名称：${custName}
&nbsp;&nbsp;&nbsp;客户类型：<span id="cust_type">${custType}</span></td>
<td width="15%" style="text-align: right;">
<input type="button" class="button" value="返回客户列表" onClick="window.location.href='view/customer/CustomerList_Enterprise.jsp'"></td>
</tr>
</table>
</td></tr>
<tr><td>
<div id="list"></div>
</td></tr>
</table>
	</td>
</tr>
</table>

</div>
</td></tr>
<!--<hr   size= "1 "   noshade   style= "color:#BCD2EE;   border-style:dotted; "> 
-->
<tr><td height="10%" style="vertical-align:bottom;">
<div id="footer">
<table  width="100%">
<tr><td style="vertical-align:bottom;text-align:center;"><jsp:include page="../bottom.jsp"></jsp:include></td></tr>
</table>
</div>
</td></tr>
</table>
  </body>
</html>
